/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.edu.seu.cose.hobbysharing.bean;

import cn.edu.seu.cose.hobbysharing.dao.ConnectionFactory;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author hp-2
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "user")

public class User {
    private String userUuid ;
    private String userDisplayName ;
    private String userBlogUrl ;
    private String userEmail ;
    private String homePageUrl ;
    private Collection<Hobby>  hobbies;
    private Collection<User>   friends;

    public void setFriends(Collection<User> friends) {
        this.friends = friends;
    }

    public Collection<User> getFriends() {
        return friends;
    }

    public void setHobbies(Collection<Hobby> hobbies) {
        this.hobbies = hobbies;
    }

    public Collection<Hobby> getHobby() {
        return hobbies;
    }
    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public void setUserDisplayName(String userDisplayName) {
        this.userDisplayName = userDisplayName;
    }

    public void setUserBlogUrl(String userBlogUrl) {
        this.userBlogUrl = userBlogUrl;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public void setHomePageUrl(String homePageUrl) {
        this.homePageUrl = homePageUrl;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public String getUserDisplayName() {
        return userDisplayName;
    }

    public String getUserBlogUrl() {
        return userBlogUrl;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public String getHomePageUrl() {
        return homePageUrl;
    }
}
